package com.tang.common.feign;

import com.tang.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

@FeignClient(name = "blog-handle",path = "/blogHandle")
public interface BlogHandleFeign {
    /**
     * 插入博客图片
     */
    @GetMapping("/blogImage/save")
    R save(@RequestParam("blogId") Integer blogId, @RequestParam("fileName") String fileName);
}
